{include file="header.html"}

<div class="main fn-clear">
    	{include file="safe_menu.html"}

        <div class="safe-content fn-left">
        	<h1>银行卡绑定</h1>
            <table class="edit-tab bankcard-list">
            	<tr>
                	<td align="right">已绑定银行卡：</td>
                    <td>
                    	<ul class="fn-clear">
                        {foreach from=$banks item=bank}
                    	<li>
                            <!-- <label><a class="icon-{$bank.en_name}" title="{$bank.bank_name}">{$bank.bank_name}</a></label> -->
                            <label>{$bank.card_area}&nbsp;&nbsp;&nbsp;&nbsp;尾号&nbsp;&nbsp;{$bank.card_number|substr:"-4"}</label>
                            <span class="limit">限额10000元/次</span><span class="edit"><a href="javascript:void(0);" onclick="delete_card({$bank.id})">删除</a></span></li>
                        {/foreach}
                    </ul>
                    </td>
                </tr>
                <!--<tr>
                	<td></td>
                	<td><a href="" class="btn-orange">添加银行卡</a></td>
                </tr>-->
                <tr>
                	<td align="right">开户姓名：</td>
                	<td><input name="" type="text" id="card_name"/></td>
                </tr>
                <tr>
                    <td align="right">开户行：</td>
                    <td><input type="text" maxlength="255" id="card_area"/><label style="width:300px;">例：中国农业银行余杭支行</label></td>
                </tr>
                <tr>
               	  <td align="right">银行卡号：</td>
                	<td><input type="text" maxlength="50" id="card_number"/><label><a id="card_class" class="fn-hide" title=""></a></label></td>
                </tr>
                <tr>
                	<td align="right"></td>
                	<td><a href="javascript:void(0);" class="btn-orange" id="submit_bind">添加银行卡</a></td>
                </tr>
            </table>
        </div>
</div>
<script src="{$site_url}/statics/js/bind_card.js"></script>
{include file="footer.html"}
